<div class="page-top">
    <div class="logout fr" onclick="logout()">
        <img class="page-top-img" src="/Extend/images/user-info/logout.svg">
        <div class="page-top-font">注销</div>
    </div>
    <div class="superAdmin-info fr">
        <img class="page-top-img" src="/Extend/images/user-info/user-header.svg">
        <div class="page-top-font">{$loginInfo.name}</div>
    </div>
</div>
<style>
    .page-top{
        position: fixed;
        top: 0px;
        right: 0px;
        width: 100%;
        height: 40px;
        line-height: 40px;
        background: #fff;
        color: #666;
        padding-right: 2%;
        text-align: right;
        box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
        box-sizing: border-box;
        z-index: 3;
    }
    .superAdmin-info,.logout{
        display: flex;
        flex-direction: row;
        margin-left: 20px;
        cursor: pointer;
    }
    .page-top-img{
        width: 15px;
        height: 15px;
        margin-top: 12px;
        margin-right: 4px;
    }
    .page-top-font{
        line-height: 40px;
        color: #666;
        font-size: 15px;
    }
</style>